<div id="sidebar">
  {% comment %}
  {% for plugin in plugins %}
  {% include plugin.config.view_path %}
  {% endfor %}
  {% endcomment %}
  
  <ul>  

  {% for plugin in plugins %}
  
  {% ifequal plugin.config.name "search" %}
  {% include plugin.config.view_path %}
  {% endifequal %}    

  {% ifequal plugin.config.name "feed" %}
  {% include plugin.config.view_path %}
  {% endifequal %}    
  
  {% ifequal plugin.config.name "gfc" %}
  {% include plugin.config.view_path %}
  {% endifequal %}    
  
  {% ifequal plugin.config.name "links" %}
  <li class="sidebar">
    <h2><strong>{{ lang.link }}</strong></h2>
	  <ul>
	  {% for link in plugin.data %}
	  <li><a href="{{ link.link }}" target="_blank">{{ link.description }}</a></li>
	  {% endfor %}
	  </ul>
  </li>
  {% endifequal %}  

  {% ifequal plugin.config.name "recent_comments" %}
  <li class="sidebar">
    <h2><strong>{{ lang.comment_recent }}</strong></h2>
	  <ul>
	  {% for comment in plugin.data %}
	  <li><a href="/blog/{{ comment.blog.key.id }}/" target="_blank">
	  {{ comment.author }}: {{ comment.content|striptags|truncatewords:5 }}</a></li>
	  {% endfor %}
	  </ul>
  </li>
  {% endifequal %}  
  
  {% ifequal plugin.config.name "tags" %}
  <li class="sidebar">
    <h2><strong>{{ lang.tags }}</strong></h2>
    <ul>
    {% for tag in plugin.data %}
    <a href="{{config.url_blog}}/all/?tag={{ tag.name|encode|urlencode }}">{{ tag.name|escape }}</a>,
    {% endfor %}
    </ul>
  </li>
  {% endifequal %}    

  {% endfor %}
  
  </ul>

</div>
